package com.flute.framework.search.result.xmlresult;

import org.apache.commons.io.IOUtils;

/**
 * 关于xml的常量类
 * 
 * @author xuweiwei
 * 
 */
public class Constants {
	/**
	 * 默认xml编码
	 */
	public static final String DEFAULT_ENCODING = "UTF-8";
	/**
	 * 默认xml版本号
	 */
	public static final String DEFAULT_VERSION = "1.0";
	/**
	 * 默认属性名前缀
	 */
	public static final String ATTRIBUTE_PREFIX = "@";
	/**
	 * 特殊字符
	 */
	public static final Character[] sources = { '<', '>', '&', '\'', '\"' };
	/**
	 * 与特殊字符对应的字符实体
	 */
	public static final String[] filtered = { "&lt;", "&gt;", "&amp;",
			"&apos;", "&quot;" };
	
	public static final String HOME_XWW_PATH = "/home/xww/path";
}
